package com.example.dto;

import com.example.constants.WxNotifyConstants;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel("微信退款对象")
public class WxChatRefundDto {

    @ApiModelProperty("微信支付订单号，微信支付订单号和商家订单号二选一")
    private String transactionId;

    @ApiModelProperty("商家订单号，对应 out_trade_no")
    private String orderId;

    @ApiModelProperty("商户退款单号，对应out_refund_no")
    private String refundOrderId;

    @ApiModelProperty("退款原因，选填")
    private String reason;

    @ApiModelProperty("回调地址")
    private WxNotifyConstants notify;

    @ApiModelProperty("退款金额")
    private BigDecimal refundMoney;

    @ApiModelProperty("原订单金额，必填")
    private BigDecimal totalMoney;

}
